package com.hhkj.study.admin.course.service.biz;

import com.hhkj.study.admin.course.entity.Course;
import com.hhkj.study.admin.course.model.req.CourseReq;
import com.hhkj.study.admin.course.model.res.CourseAssocResourceStatRes;
import com.hhkj.study.admin.course.model.res.CourseRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
* CourseBizService
*
* @author SERVER
* @since 2024-09-18
*/
public interface CourseBizService extends BaseBizService<Course, CourseReq, CourseRes> {

    /**
     * 通过课程id列表批量获得课程下的资源 课程视频/题库
     * @param courseIdList
     * @return
     */
    List<CourseAssocResourceStatRes> getCourseAssocResourceStatList(Collection<? extends Serializable> courseIdList);
}